package com.masterclient.app.businessmodule.vipmodule.financial_management.contract;

import android.support.annotation.NonNull;

import com.eoner.baselib.presenter.FCBasePresenter;
import com.eoner.baselib.presenter.IFCBaseView;
import com.masterclient.app.businessmodule.vipmodule.financial_management.bean.CashBaseInfoData;

/**
 * 作者：sean
 * 创建时间：2017/8/9 19:40
 * 功能说明：
 */

public interface CashIndexContract {

    interface View extends IFCBaseView {
        void showData(CashBaseInfoData dataBean);
        void failureData();

        void captchaSuccess(boolean isSuccess);

        void applyResult(boolean isSuccess, String msg);

    }
    abstract class Presenter extends FCBasePresenter<View> {

        public abstract void getBaseInfo(String source, boolean showLoading );

        public abstract void applyCash(String amount,String bankcard_cert_id,String mobile,String captcha,String withdraw_source);

        public abstract void getCaptcha(@NonNull String phoneNum, @NonNull String type, String ne);
    }
}